Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 7 - View-Related Objects / View-Related Objects Reference
View Group Functions / Creating and Disposing of View Group Objects


GXDisposeViewGroup

You can use the GXDisposeViewGroup function to delete a view group object.

void GXDisposeViewGroup(gxViewGroup target);
target
A reference to the view group.
DESCRIPTION
The GXDisposeViewGroup function deletes the view group, as well as all view devices and view ports that belong to that view group. If you create an offscreen view group with several view ports and view devices, you needn't dispose of those view ports and view devices when you are finished, as long as you dispose of the view group itself.

ERRORS, WARNINGS, AND NOTICES
Errors 
invalid_viewGroup_reference 
SEE ALSO
For an example of the use of this function, see page 7-63.

For information about view groups, see "About View Group Objects" beginning on page 7-29.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996